/**
 * Created by kangdaye on 16/5/15.
 */
app.service('distrVipService',["$http", function($http) {
    this.detail = function (getData,callback) {
        $http.get(servicePath + 'member/details',{params : getData}).success(callback);
    };

    this.certifiedInfo = function (getData,callback) {
        $http.get(servicePath + 'member/certifiedInfo',{params : getData}).success(callback);
    };

    this.distributionAudit = function (postData,callback) {
        $http.post(servicePath + 'member/distribution_audit',postData).success(callback);
    };

    this.deduct = function (postData,callback) {
        $http.post(servicePath + 'commission_divided_proportion',postData).success(callback);
    };

    this.getDeductDivided = function (callback) {
        $http.get(servicePath + 'get_commission_divided_proportion').success(callback);
    };

}]);
